package com.itaem.community.modules.infrastructure.authority.entity.role;

import com.baomidou.mybatisplus.annotation.TableName;
import com.itaem.community.core.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户角色表
 * </p>
 *
 * @author tomato
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("role")
@ApiModel(value="RoleEntity对象", description="用户角色表")
public class RoleEntity extends Entity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;


}
